var e = require("../../../@babel/runtime/helpers/toConsumableArray"),
  a = require("@/utils/jump"),
  n = t(require("../../../config/index")),
  i = t(require("@/config/page"));
function t(e) {
  return e && e.__esModule ? e : { default: e };
}
Page({
  data: {
    CDN: n.default.CDN,
    list: [
      {
        icon: "piaowudingshan",
        name: "票务订单",
        page: "".concat(
          i.default.PAGE_ORDER_TRANSFER,
          "?url=plugin://order/order-page",
        ),
      },
      {
        icon: "jiangjiejidingshan",
        name: "讲解机订单",
        page: "".concat(
          i.default.PAGE_EXPLAIN_TRANSFER,
          "?url=plugin://explain/order",
        ),
      },
      {
        icon: "icon_Mileage",
        name: "活动订单",
        page: "".concat(
          i.default.PAGE_COURSE_TRANSFER,
          "?url=plugin://course/my-activity-list",
        ),
      },
    ],
  },
  onLoad: function () {
    var a = this;
    wx.getSystemInfoAsync({
      success: function (n) {
        n.enableDebug &&
          a.setData({
            list: [].concat(e(a.data.list), [
              {
                icon: "ju",
                name: "租赁订单",
                page: "".concat(
                  i.default.PAGE_GUIDE_TRANSFER,
                  "?url=plugin://guide/order",
                ),
              },
            ]),
          });
      },
    });
  },
  enter: function (e) {
    var n = e.detail.page;
    (0, a.navigateTo)(n, {});
  },
});
